import { defineConfig } from 'vitepress'

// https://vitepress.dev/reference/site-config
export default defineConfig({
  title: "Pkmer Boot",
  description: "沉淀开发过程中用到的技术starter",
  themeConfig: {
    // https://vitepress.dev/reference/default-theme-config
    nav: [
      { text: 'Home', link: '/' },
      { text: 'Examples', link: '/markdown-examples' }
    ],

    sidebar: [
      {
        text: '指南',
        link: '/home.md'
      },
      {
        text: 'starter指南',
        items: [
          { text: 'pkmer-boot-starter-mybatis', link: '/starter/mybatis' },
          { text: 'Runtime API Examples', link: '/api-examples' }
        ]
      },{
        text: 'Web',
        items: [
          {text: 'pkmer-boot-convention',link: '/web/convention.md'}
        ]
      },{
        text: 'DDD',
        items: [
          {text: 'pkmer-boot-ddd',link: '/ddd/index.md'}
        ]
      },
      {
        text: '设计模式',
        items: [
          {text: 'pkmer-boot-starter-designpattern',link: '/designpattern/index.md'}
        ]
      }
    ],

    socialLinks: [
      { icon: 'github', link: 'https://gitee.com/pkmer/pkmer-boot' }
    ]
  }
})
